package mya_dc.master_server.threads;

import java.util.ArrayList;

/**
 * abstract class that has manages threads of type MYA_ConnectionThread
 *
 * @author      Adam Levi
 * <br>			MYA
 */
public abstract class MYA_ThreadManager
{
	
	/**
	 * closes all the Transmitters of the threads
	 */
	protected void doClose()
	{
		for (MYA_ConnectionThread thread : m_Theards)
			thread.doCloseConnection();
	}
	protected ArrayList<MYA_ConnectionThread> m_Theards = new ArrayList<MYA_ConnectionThread>();
}
